package org.fatmansoft.teach.Repository.ViewRepository;

import org.fatmansoft.teach.entity.ViewEntity.StudentLeavingInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentLeavingRepository extends JpaRepository<StudentLeavingInfo, Integer> {
    List<StudentLeavingInfo> findStudentLeavingInfoByStudentId(Integer studentNum);

    List<StudentLeavingInfo> findAllByStudentId(Integer studentId);
}
